package com.ws.util;

import org.springframework.util.DigestUtils;

public class Test {

    public static void main(String[] args) {
        String password = "123456";
        String passwordMd5 = DigestUtils.md5DigestAsHex(password.getBytes());
        System.out.println(passwordMd5);
    }
}
